package com.bootdo.contract.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.contract.dao.TestpaperDao;
import com.bootdo.contract.domain.TestpaperDO;
import com.bootdo.contract.service.TestpaperService;



@Service
public class TestpaperServiceImpl implements TestpaperService {
	@Autowired
	private TestpaperDao testpaperDao;
	
	@Override
	public TestpaperDO get(Integer id){
		return testpaperDao.get(id);
	}
	
	@Override
	public List<TestpaperDO> list(Map<String, Object> map){
		return testpaperDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return testpaperDao.count(map);
	}
	
	@Override
	public int save(TestpaperDO testpaper){
		return testpaperDao.save(testpaper);
	}
	
	@Override
	public int update(TestpaperDO testpaper){
		return testpaperDao.update(testpaper);
	}
	
	@Override
	public int remove(Integer id){
		return testpaperDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return testpaperDao.batchRemove(ids);
	}
	
}
